package com.levi.model;

import java.util.Date;

public class Diary
{
	private int diaryId;
	private String title;
	private String content;
	private int typeId=-1;
	private String releaseDateStr;
	private int diaryCount;
	private String typeName;
	public String getTypeName()
	{
		return typeName;
	}
	public void setTypeName(String typeName)
	{
		this.typeName = typeName;
	}
	public int getDiaryCount()
	{
		return diaryCount;
	}
	public void setDiaryCount(int diaryCount)
	{
		this.diaryCount = diaryCount;
	}
	private Date releaseDate;
	public int getDiaryId()
	{
		return diaryId;
	}
	public Diary(String title, String content, int typeId)
	{
		super();
		this.title = title;
		this.content = content;
		this.typeId = typeId;
	}
	public Diary()
	{
		super();
		// TODO Auto-generated constructor stub
	}
	public String getReleaseDateStr()
	{
		return releaseDateStr;
	}
	public void setReleaseDateStr(String releaseDateStr)
	{
		this.releaseDateStr = releaseDateStr;
	}
	public void setDiaryId(int diaryId)
	{
		this.diaryId = diaryId;
	}
	public String getTitle()
	{
		return title;
	}
	public void setTitle(String title)
	{
		this.title = title;
	}
	public String getContent()
	{
		return content;
	}
	public void setContent(String content)
	{
		this.content = content;
	}
	public int getTypeId()
	{
		return typeId;
	}
	public void setTypeId(int typeId)
	{
		this.typeId = typeId;
	}
	public Date getReleaseDate()
	{
		return releaseDate;
	}
	public void setReleaseDate(Date releaseDate)
	{
		this.releaseDate = releaseDate;
	}
}
